package org.anupta.realm.server.realm.packet.login.answer;

import org.anupta.realm.main.Main;
import org.anupta.realm.server.realm.client.RealmClient;
import org.anupta.realm.server.realm.packet.RealmPacket;

public class InvalidAccount extends RealmPacket {
	public InvalidAccount(RealmClient client) {
		super(client);
		pack();
		doPacket();
	}

	@Override
	public void unpack() {
	}

	@Override
	public void pack() {
		packetOut.append("AlEf");
	}

	@Override
	public void doPacket() {
		client.send(packetOut.toString());
		Main.err.write(new Exception(new StringBuilder("InvalidAccount error packet sended to : ").append(client.getIp()).toString()));
	}
}
